package com.jfcloud.mall.user.service;

import com.jfcloud.mall.user.domain.JfcloudUser;
import com.jfcloud.mall.user.domain.dto.DeductForm;

/**
 * @author zhaojunfu
 * @Title: UserService
 * @ProjectName jfcloud
 * @Description: 账户服务
 * @date 2020/9/1222:23
 */
public interface UserService {
    /**
     * 用户余额扣减
     *
     * @param userId
     * @param form
     * @return
     */
    JfcloudUser deduct(Long userId, DeductForm form);
}
